import router from "@/router";
import { RouterProvider } from "react-router-dom";
import { ConfigProvider, App as AntdApp } from "antd";
import "./App.less"
import AntdGlobal from "./utils/AntdGlobal";
function App(): JSX.Element {
    return (
        <ConfigProvider
            theme={{
                token: {
                    // Seed Token，影响范围大
                    colorPrimary: '#1677ff',
                    // colorPrimary: '#ed6c00',
                    borderRadius: 4,
                },
            }}
        >
            <AntdApp>
                <AntdGlobal />
                <RouterProvider router={router} />
            </AntdApp>
        </ConfigProvider>

    );
}

export default App;